package cn.mothin.bean.system;

import java.util.ArrayList;
import java.util.List;

public class OrganizationTreeData {
	private String id;
	private String organizationName;
	private String text;
	private String parentId;
	private String manager;
	private String managerId;
	private String memo;
	private List<OrganizationTreeData> children;

	public void addChild(OrganizationTreeData organizationTreeData) {
		if (children == null) {
			children = new ArrayList<OrganizationTreeData>();
		}
		children.add(organizationTreeData);
	}
	
	public String getManager() {
		return manager;
	}

	public void setManager(String manager) {
		this.manager = manager;
	}

	public String getManagerId() {
		return managerId;
	}

	public void setManagerId(String managerId) {
		this.managerId = managerId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public List<OrganizationTreeData> getChildren() {
		return children;
	}

	public void setChildren(List<OrganizationTreeData> children) {
		this.children = children;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	
}
